<?php

class PHPMailerConfig {
	private $Values;
	
	function __construct(){
		$SystemConfig = Core::$FMSConfig;
		
		$this->Values["From"] = $SystemConfig->getValue("environment", "info_mail");
		$this->Values["FromName"] = $SystemConfig->getValue("environment", "page_title");
		
	}
	
	function getConfig(){
		return $this->Values;
	}
	
	function getValue($key){
		return (isset($this->Values[$key])) ? $this->Values[$key] : false;
	}
}

?>